import { ModalForm } from "@ant-design/pro-components"
import { Button } from "antd"
import React from "react"

export const Preview = ({children,...props})=>{
return <ModalForm {...props}  trigger={<Button>弹框</Button>}>
    {children}
</ModalForm>
}
